package com.etc.service;

import com.etc.entity.RoomInfo;
import com.github.pagehelper.PageInfo;

public interface RoomInfoService {
    /**
     * 增加房间
     * 邓玲琪
     * @param
     * @return boolean int>0 为True  否则为False
     */
    public int addRoomInfo(int roomNum,String rtId,String roomTel,int roomStatus,String roomFloog);

    /**
     * 根据房间编号删除房间
     * 邓玲琪
     * @param roomId 房间编号
     * @return boolean int>=0 为True  否则为False
     */
    public int delRoomInfo(String roomId);

    /**
     * 根据房间编号修改房间信息
     * 邓玲琪
     * @param roomInfo 房间对象
     * @return boolean int>=0 为True  否则为False
     */
    public int modifyRoomInfo(RoomInfo roomInfo);

    /**
     * 分页 查找所有房间信息
     * 邓玲琪
     *  @param pageNum
     * @param pageSize
     * @return pageInfo  （集合PageInfo<RoomInfo>）
     */
    public PageInfo<RoomInfo> getqueryAllRoomInfo(int pageNum, int pageSize,int roomNum,int roomStatus,String rtName);

}
